package com.ict.web.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ict.web.domain.Performance;
import com.ict.web.dto.QueryPerformanceDto;
import com.ict.web.vo.PerformanceDetailVo;
import com.ict.web.vo.PerformanceListVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 绩效Mapper接口
 * 
 * @author ruoyi
 * @date 2022-02-15
 */
@Mapper
public interface PerformanceMapper extends BaseMapper<Performance>
{
    /**
     * 查询绩效
     * 
     * @param perId 绩效
     * @return 绩效
     */
    public PerformanceDetailVo selectPerformanceByPerId(Long perId);

    /**
     * 查询绩效列表
     * 
     * @param queryDto 绩效
     * @return 绩效
     */
    public List<PerformanceListVo> selectPerformanceList(QueryPerformanceDto queryDto);

    /**
     * 删除绩效
     * 
     * @param perId 绩效主键
     * @return 结果
     */
    public int deletePerformanceByPerId(Long perId);
}
